egl: Implement HDR support
authorBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2021 01:33:24 +0000 (03:33 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2021 01:44:59 +0000 (03:44 +0200)
commitcdc85232b22758b99b2574838bdfda473b978f27
treee3518a8a56f796519bda25759cff5cdf2b0abcbd
parent5eb42dd9f3b44041d2bf03006b296453bc862cef
egl: Implement HDR support

If EGL supports:
* no-config contexts
* >8bits pixel formats
* (optionally) floating point pixel formats

Then select such a profile as the HDR format and use it when HDR is
requested.
gdk/gdkdisplay.c
gdk/gdkdisplayprivate.h
gdk/gdkglcontext.c
gdk/gdksurface.c
gdk/gdksurfaceprivate.h